// pages/loop/loop.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    arr: [{
      name: "小明",
      age: "18",
      list:[{friendname:"啦啦",age:19},{friendname:"海绵宝宝",age:19},{friendname:"琪琪",age:19}]
    }, {
      name: "小虎",
      age: "23",
      list:[{friendname:"啦啦1",age:19},{friendname:"海绵宝宝1",age:19},{friendname:"琪琪1",age:19}]
    }, {
      name: "小凡",
      age: "18",
      list:[{friendname:"啦啦2",age:19},{friendname:"海绵宝宝2",age:19},{friendname:"琪琪2",age:19}]
    }],

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})